package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.SkuBoundsTo;
import com.atguigu.common.to.SkuFullReductionTo;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-coupon")
public interface SmsService {
    @RequestMapping("/coupon/spubounds/save")
    public R save(@RequestBody SkuBoundsTo spuBounds);
    @RequestMapping("/coupon/skufullreduction/saveSkuFullReduction")
    public R saveSkuFullReduction(@RequestBody SkuFullReductionTo skuFullReductionTo);
}
